﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Users {

    /// <summary>
    /// This interface is used for Web Admin to manage user appearance profile
    /// </summary>
    public interface IUserAppearanceProfileAdmin {

        /// <summary>
        /// Inserts the specified item.
        /// </summary>
        /// <param name="item">The UserApperanceProfileEnt item.</param>
        /// <returns></returns>
        bool Insert(UserApperanceProfileEnt item);

        /// <summary>
        /// Updates the specified item.
        /// </summary>
        /// <param name="item">The UserApperanceProfileEnt item.</param>
        /// <returns></returns>
        bool Update(UserApperanceProfileEnt item);

        /// <summary>
        /// Gets by user key.
        /// </summary>
        /// <param name="userKey">The user key.</param>
        /// <returns>Return UserApperanceProfileEnt if exists, otherwise return null.</returns>
        UserApperanceProfileEnt GetByUserKey(string userKey);
    }
}
